﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.Text;

namespace Yuebon.Commons.Models
{
    /// <summary>
    /// 框架实体类的基类
    /// </summary>

    [Serializable]
    [DataContract]
    public class BaseEntity
    {
        /// <summary>
        /// 当前登录用户ID。该字段不保存到数据表中，只用于记录用户的操作日志。
        /// </summary>
        [DataMember]
        public string CurrentLoginUserId { get; set; }

        /// <summary>
        /// 主键ID
        /// </summary>
        public virtual string Id { get; set; }
       

    }
}
